package com.siyu.tickets.dao;

import java.util.Date;

import com.siyu.common.hibernate3.Updater;
import com.siyu.common.page.Pagination;
import com.siyu.tickets.entity.Product;

public interface ProductDao {

	public Pagination getPage(String name, Date beginTime, Date endTime, Integer typeId, Integer groupId, Integer cityId, Integer supplierId, Boolean enable, int pageNo, int pageSize);

	public Product findById(Integer id);

	public Product save(Product bean);

	public Product updateByUpdater(Updater<Product> updater);

	public Product deleteById(Integer id);

}
